import request from '@/utils/request'
export function dataExport(data,params) {
  return request({
    url: '/api/dataimportexporttask/export',
    method: 'post',
    data,
    params
  })
}

export function get(params) {
  return request({
    url: '/api/dataimportexporttask/getExportPage',
    method: 'get',
    params
  })
}

export function downloadById(params){
  return request({
    url: '/api/dataimportexporttask/downLoadExportFile',
    method: 'get',
    params
  })
}

export default { dataExport,get,downloadById }
